﻿using System.Reflection;
using Zhang.Model.UCenter;

namespace Zhang.IDAL.UCenter.Login
{
    public interface ILogin
    {
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        int Register(Model.UCenter.Login model);

        /// <summary>
        /// 获取会员信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        User GetByKey(Model.UCenter.Login model);
    }
}
